<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
    <title><?php echo $config['cfg_webname']; ?> - 信息发布成功</title>
    <link rel="stylesheet" href="__THEME_PATH__css/style.css" type="text/css"/>
    <link rel="stylesheet" href="__THEME_PATH__css/top.css" type="text/css"/>
</head>
<body>
<div align="center">
    <include file="Template/default/header.php"/>
    <script language="javascript" src="__THEME_PATH__js/m.js"></script>
    <script language="javascript" src="__THEME_PATH__js/search.js"></script>
    <script type="text/javascript" src="__THEME_PATH__js/jquery.js"></script>
    <script type="text/javascript" src="__THEME_PATH__js/lrtk.js"></script>
    <script type="text/javascript">fWeather("4", "500", "32");</script>
    <script type="text/javascript">
        (function () {
            var mini_menu = $('#searchSort');
            mini_menu.click(function (event) {
                mini_menu.next().toggle();
                $('body').one('click', function (event) {
                    //console.log('test');
                    mini_menu.next().hide();
                });
                return false;
            });
        })();
    </script>
    <div class="main">
        <div class="pstitle"><img src="__THEME_PATH__/images/a02.gif"/> <a href="/post/">选择分类</a> <img src="__THEME_PATH__/images/a02.gif"/> 填写详细信息
            <img src="__THEME_PATH__/images/a02.gif"/> <strong>发布成功</strong></div>
        <div class="postOkTitle"><strong>&radic;发布成功！</strong>请等待管理员审核，<a
                href="{:UU('User/info/minfo',array('id'=>$data['id']))}" target="_blank">【查看审核结果】</a>。别急，您还可以…… <span
                style="color:#FF0000">免费置顶一周！看下面^_^</span></div>
        <div class="postOkBox">
            <div class="postOkNum" style="color:#FF0000">①</div>
            <div class="postOkBox1">
                将下面内容发送或分享给您的好友，有<strong>10</strong>人查看后，您的信息<strong>自动置顶一周</strong>！
                <div class="postOkP1"><?php echo  $data['title'] ;?><br/>
                    <a href="<?php echo UU('Info/share/info',array('sid'=>$sid));?>" target="_blank"><?php echo UU('Info/share/info',array('sid'=>$sid));?></a>
                </div>
                <a href="#nogo" style="position:absolute; bottom:55px; right:120px;"
                   onclick="javascript:cpIt('tpoint');">【复制内容】</a>
<textarea class="postOkP1" id="tpoint"><?php echo  $data['title'] ."\n";?><?php echo UU('Info/share/info',array('sid'=>$sid));?>
</textarea>

                <div class="bdsharebuttonbox"><a href="#nogo" style="background-image:none; padding-left:0px;">分享</a><A
                        class=bds_weixin title=分享到微信 href="#" data-cmd="weixin"></A><A class=bds_qzone title=分享到QQ空间
                                                                                       href="#" data-cmd="qzone"></A><A
                        class=bds_tieba title=分享到百度贴吧 href="#" data-cmd="tieba"></A><A class=bds_tsina title=分享到新浪微博
                                                                                       href="#" data-cmd="tsina"></A><A
                        class=bds_tqq title=分享到腾讯微博 href="#" data-cmd="tqq"></A><A class=bds_more href="#"
                                                                                   data-cmd="more"></A></div>
                <script>window._bd_share_config = {
                        "common": {
                            "bdSnsKey": {},
                            "bdText": "<?php echo  $data['title'] ;?>",
                            "bdUrl": "<?php echo UU('Info/share/info',array('sid'=>$sid));?>",
                            "bdMini": "2",
                            "bdMiniList": false,
                            "bdPic": "",
                            "bdStyle": "1",
                            "bdSize": "24"
                        },
                        "share": {},
                        "image": {
                            "viewList": ["weixin", "qzone", "tieba", "tsina", "tqq"],
                            "viewText": "分享到：",
                            "viewSize": "16"
                        },
                        "selectShare": {
                            "bdContainerClass": null,
                            "bdSelectMiniList": ["weixin", "qzone", "tieba", "tsina", "tqq"]
                        }
                    };
                    with (document)0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?cdnversion=' + ~(-new Date() / 36e5)];</script>
            </div>
            <div class="clear"></div>
        </div>
        <div class="postOkBox">
            <div class="postOkNum">②</div>
            <div class="postOkBox1">操作： <a href="{:UU('Info/post/index')}" style="color:#333333">【继续发布】</a> <a href="{$config.cfg_basehost}"
                                                                                             style="color:#333333">【返回主页】</a>
                <div class="clear"></div>
                <br/>
                查看信息：<a href="<?php echo UU('Info/info/index',array('id'=>$data['id']));?>" target="_blank"><?php echo UU('Info/info/index',array('id'=>$data['id']));?></a><br/>
                管理信息：<a href="{:UU('User/info/minfo',array('id'=>$data['id']))}" target="_blank">{:UU('User/info/minfo',array('id'=>$data['id']))}</a>
            </div>
            <div class="clear"></div>
        </div>

        <include file="Template/default/footer.php"/>
    </div>
</div>
<script>
    function cpIt(v1) {
        var Url2=document.getElementById("tpoint");
        Url2.select(); // 选择对象
        document.execCommand("Copy"); // 执行浏览器复制命令
        if (copyToClipboard(document.getElementById(v1).value) != false) {
            alert("生成的代码已经复制到粘贴板，你可以使用Ctrl+V 贴到需要的地方去了哦！ ");
        }
    }

    function copyToClipboard(txt) {
        if (window.clipboardData) {
            window.clipboardData.clearData();
            document.execCommand("Copy");
            window.clipboardData.setData("Text", txt);
        } else if (navigator.userAgent.indexOf("Opera") != -1) {
            window.location = txt;
        } else if (window.netscape) {
            try {
                netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
            } catch (e) {
                alert("被浏览器拒绝！\n请在浏览器地址栏输入'about:config'并回车\n然后将'signed.applets.codebase_principal_support'设置为'true'");
            }
            var clip = Components.classes['@mozilla.org/widget/clipboard;1'].createInstance(Components.interfaces.nsIClipboard);
            if (!clip)
                return;
            var trans = Components.classes['@mozilla.org/widget/transferable;1'].createInstance(Components.interfaces.nsITransferable);
            if (!trans)
                return;
            trans.addDataFlavor('text/unicode');
            var str = new Object();
            var len = new Object();
            var str = Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);
            var copytext = txt;
            str.data = copytext;
            trans.setTransferData("text/unicode", str, copytext.length * 2);
            var clipid = Components.interfaces.nsIClipboard;
            if (!clip)
                return false;
            clip.setData(trans, null, clipid.kGlobalClipboard);
            alert("复制成功！")
        }
    }
</script>


</body>
</html>
